package com.lm.service.impl;

import com.lm.dao.DpChannelDao;
import com.lm.model.DpChannel;
import com.lm.service.DpChannelService;
import com.meirengu.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * DpChannel服务实现层
 *
 * @author liu
 * @create Fri Jun 15 09:49:25 CST 2018
 */
@Service
public class DpChannelServiceImpl extends BaseServiceImpl<DpChannel> implements DpChannelService {


    @Autowired
    private DpChannelDao dpChannelDao;

    /**
     * 通过渠道编号查询渠道
     *
     * @param channelNo
     * @return
     */
    @Override
    public DpChannel detailByChannelNo(String channelNo) {
        return dpChannelDao.detailByChannelNo(channelNo);
    }
}
